package com.eight.qianTeacher.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.eight.common.pojo.EduCourseDescription;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;

/**
 * @author 向文豪
 * @program: eight-education-parent
 * @description:
 * @date 2023/6/6 19:06
 */
public interface EduCourseDescriptionDao extends BaseMapper<EduCourseDescription> {

    @Update("update edu_course_description set description = #{description},gmt_modified=now() where id = #{id}")
    Integer updateDes(@Param("id") String id, @Param("description") String description);
}
